#ifndef PAINTERWIN_H
#define PAINTERWIN_H

#include <QMainWindow>
#include <QPaintEvent>
namespace Ui {
class PainterWin;
}

class PainterWin : public QMainWindow
{
    Q_OBJECT

public:
    explicit PainterWin(QWidget *parent = 0);
    ~PainterWin();
    void paintEvent(QPaintEvent *event);
private slots:
    void on_pushButton_clicked();

private:
    Ui::PainterWin *ui;

    int x,y;

};

#endif // PAINTERWIN_H
